/**
 * @Classname Context
 * @Description TODO
 * @Date 2023/9/1 15:12
 * @Created by wpc
 */
public class Context {
    private Strategy strategy;
    public Context(Strategy strategy){
        this.strategy = strategy;
    }

    protected void enableService(int code){
        this.strategy.chooseServer(code);
    }
}
